﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepCultivation.Common.Domain.Week2
{
    /// <summary>
    /// 栋舍表
    /// </summary>
    [Table("Building")]
    public class Building
    {
        [Key]
        /// <summary>
        /// 栋舍Id
        /// </summary>
        public int BuildingId { get; set; }

        /// <summary>
        /// 栋舍类型Id（栋舍类型表 BuildingType）
        /// </summary>
        public int BuildingTypeId { get; set; }

        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string? BuildingName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? BuildingPerson { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        public string? BuildingStaff { get; set; }
        /// <summary>
        /// 状态 1：启用 2：禁用
        /// </summary>
        public int BuildingState { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? BuildingRenamk { get; set; }

    }
}
